<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        #expectedWork{
            margin-top: 95px;
            height: 300px;
            overflow-y: hidden;
        }
        .modal-content {
            overflow: auto;
            max-height:300px;
        }
    </style>
</head>
<body>

<div th:fragment="addProject_modal">
    <!--模态框-->
    <div class="modal fade" id="updateUserImg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">修改头像</h4>
                </div>
                <div class="modal-body">
                    <form th:action="@{/user/updateUserImg}" method="post" enctype="multipart/form-data">
                        头像:<input type="file" name="headerImg" accept="image/jpeg;image/png">(仅限jpg、png和bmp格式)<br>
                        <input type="submit" value="修改">
                    </form>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>

    <div class="modal fade" id="addProject" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="ModalLabel02">添加项目经验</h4>
                </div>
                <div class="modal-body" style="height: 480px;">
                    <form th:action="@{/addEmployeeProject}" method="post" class="form-horizontal" style="margin-right: 20px; margin-left: 20px;">
                        <div class="form-group">
                            <label for="project_name" class="control-label">项目名称</label>
                            <input type="text" class="form-control" id="project_name" name="projectName"
                                   placeholder="请输入名称">
                        </div>
                        <div class="form-group">
                            <label for="start_time" class="control-label">开工时间</label>
                            <input type="date" class="form-control" id="start_time" name="startTime"
                                   placeholder="请输入名称">
                        </div>
                        <div class="form-group">
                            <label for="end_time" class="control-label">完工时间</label>
                            <input type="date" class="form-control" id="end_time" name="endTime"
                                   placeholder="请输入名称">
                        </div>
                        <div class="form-group">
                            <label for="start_time" class="control-label">所在地区</label>
                            <div style="padding-left: 0px;" class="col-sm-12 form-inline" data-toggle="distpicker" id="address">
                                <select class="form-control" name="province"></select>
                                <select class="form-control" name="city"></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="project_describe" class="control-label">项目描述</label>
                            <textarea id="project_describe" class="form-control" rows="3" name="projectDescribe"></textarea>
                        </div>
                        <div class="text-right">
                            <input type="submit" value="保 存" class="btn">
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
</div>

<!--选择工种-->
<div th:fragment="addProject_modal">
    <div class="modal fade" id="expectedWork" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="expectedWork01">选择工种</h4>
                </div>
                <div class="modal-body" style="height: 620px;">
                    <div id="radio">
                        <h4>养殖业:</h4>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="养殖业/养殖场管理"> 养殖场管理
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="养殖业/家畜饲养员"> 家畜饲养员
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio4" value="养殖业/兽医"> 兽医
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio5" value="养殖业/水产养殖员"> 水产养殖员
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio6" value="养殖业/养蜂人"> 养蜂人
                        </label>
                        <h4>农业生产/林业</h4>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio7" value="农业生产/林业/果树采摘"> 果树采摘
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio81" value="农业生产/林业/农作物收割"> 农作物收割
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio82" value="农业生产/林业/农业除虫/除草"> 农业除虫/除草
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio83" value="农业生产/林业/种植场管理"> 种植场管理
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio84" value="农业生产/林业/护林员"> 护林员
                        </label>
                        <h4>机械/电力</h4>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio9" value="机械/电力/模具工程师"> 模具工程师
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio10" value="机械/电力/注塑成型"> 注塑成型
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio101" value="机械/电力/焊接"> 焊接
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio102" value="机械/电力/设备修理"> 设备修理
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio103" value="机械/电力/电工"> 电工
                        </label>
                        <h4>服务业/后勤</h4>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio11" value="服务业/后勤/超市销售员"> 超市销售员
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio12" value="服务业/后勤/餐厅服务员/洗碗工"> 餐厅服务员/洗碗工
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio13" value="服务业/后勤/厨师"> 厨师
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio131" value="服务业/后勤/外卖骑手"> 外卖骑手
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio132" value="服务业/后勤/保安"> 保安
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio133" value="服务业/后勤/清洁工"> 清洁工
                        </label><br>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio134" value="服务业/后勤/社区服务"> 社区服务
                        </label>

                        <h4>房屋建筑/装修</h4>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio19" value="房屋建筑/装修/木工"> 木工
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio110" value="房屋建筑/装修/墙面粉刷"> 墙面粉刷
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio1101" value="房屋建筑/装修/水电师傅"> 水电师傅
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio1102" value="房屋建筑/装修/泥工"> 泥工
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio1103" value="房屋建筑/装修/打地基"> 打地基
                        </label>

                        <h4>物流运输业</h4>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio219" value="物流运输业/长途司机"> 长途司机
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio210" value="物流运输业/短途司机"> 短途司机
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio2101" value="物流运输业/搬运工"> 搬运工
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio2102" value="物流运输业/搬家"> 搬家
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio2103" value="物流运输业/快递员"> 快递员
                        </label>

                        <h4>轻工</h4>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio319" value="轻工/服装纺织"> 服装纺织
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio310" value="轻工/金银首饰加工"> 金银首饰加工
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio3101" value="轻工/玉石雕刻"> 玉石雕刻
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio3102" value="轻工/食品类加工"> 食品类加工
                        </label>

                        <h4>技工/普工</h4>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio419" value="技工/普工/快递包装"> 快递包装
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio410" value="技工/普工/流水线"> 流水线
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio4101" value="技工/普工/杂工"> 杂工
                        </label>

                        <h4>教育</h4>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio519" value="教育/幼师"> 幼师
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio510" value="教育/园长"> 园长
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="inlineRadioOptions" id="inlineRadio5101" value="教育/兴趣班老师"> 兴趣班老师
                        </label>
                    </div>
                    <div class="text-right">
                        <input type="button" value="提交" id="submit" class="btn btn-primary" data-dismiss="modal" aria-hidden="true" />
                    </div>

                </div>
                <div class="modal-footer">
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
</div>

<div th:fragment="updateCompany">
    <div class="modal fade" id="updateCompany" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" th:if="${company != null}">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="UpdateC">修改公司信息</h4>
                </div>
                <div class="modal-body" style="height: 400px;">

                    <form class="education_Form" th:action="@{/updateCompany}" method="post">
                        <input type="hidden" name="id" th:value="${company.getId()}">
                        <div class="form-group col-md-12">
                            <label for="update_c_name" class="col-sm-2 control-label la_b" style="padding-right: 0px; margin-top: 5px; float: left;">公司名称:</label>
                            <div class="col-sm-10">
                                <input type="text" th:value="${company.getCompanyName()}"  class="form-control" id="update_c_name" name="companyName" style="margin-top: 0px; margin-left: 0px;" placeholder="公司名称 ">
                            </div>
                        </div>

                        <div class="form-group col-md-12">
                            <label for="update_c_address" class="col-sm-2 control-label la_b" style="padding-right: 0px; margin-top: 5px; float: left;">公司地址:</label>

                            <div class="col-sm-10 form-inline" data-toggle="distpicker" id="update_c_address">
                                <select class="form-control" name="province"></select>
                                <select class="form-control" name="city"></select>
                            </div>
                        </div>

                        <div class="form-group col-md-12 ">
                            <label for="update_c_phone" class="col-sm-2 control-label " style="padding-right: 0px; margin-top: 5px;">咨询电话:</label>
                            <div class="col-sm-10">
                                <input type="text" th:value="${company.getTelephone()}" class="form-control" id="update_c_phone" name="telephone" style="margin-top: 0px; margin-left: 0px;" placeholder="咨询电话 ">
                            </div>
                        </div>

                        <div class="form-group col-md-12 ">
                            <label for="update_c_HR" class="col-sm-2 control-label " style="padding-right: 0px; margin-top: 5px;">HR:</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" th:value="${company.getHrName()}" id="update_c_HR" name="hrName" style="margin-top: 0px; margin-left: 0px;" placeholder="HR">
                            </div>
                        </div>

                        <div class="form-group col-md-12 ">
                            <label for="update_c_describe" class="col-sm-2 control-label " style=" padding-right: 0px; margin-top: 5px;">公司描述:</label>
                            <div class="col-sm-10 ">
                                <textarea class="form-control" th:text="${company.getCompanyDescribe()}" rows="3 " id="update_c_describe" name="companyDescribe" style="resize: none" placeholder="请简要您的公司的做什么的，需要什么人才，有助于您更快找到合适的工作。 "></textarea>
                            </div>
                        </div>
                        <div class="form-group col-md-12 ">
                            <div style="display: inline-block; ">
                                <input type="submit" value="修 改 " class="btn btn-success btn_save">
                            </div>
                        </div>
                    </form>
                </div>

                <div class="modal-footer">

                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
</div>





</body>
</html>